package com.woniuxy.receivables.mapper;

import com.woniuxy.commons.entity.Receivables;
import com.woniuxy.commons.vo.AddAddTimeToReceivablesVo;
import com.woniuxy.commons.vo.SearchProjectVo;
import com.woniuxy.receivables.vo.InvestsVo;
import com.woniuxy.receivables.vo.ReceivablesVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReceivablesMapper {
    List<Receivables> findAllReceivablesByPno(String pno);

    void refundReceivables(String pno);

    void refundToUserDetails(Receivables receivables);

    boolean setAddTime(AddAddTimeToReceivablesVo addAddTimeToReceivablesVo);

    List<InvestsVo> searchInvests(SearchProjectVo searchProjectVo);

    List<ReceivablesVo> searchReceivables(SearchProjectVo searchProjectVo);
}
